package com.atguigu.spzx.service.user.service;

import com.atguigu.spzx.model.dto.h5.UserInfoDto;
import com.atguigu.spzx.model.entity.h5.UserInfo;
import com.atguigu.spzx.model.vo.h5.UserInfoVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * title:
 * author: zgl
 * date: 2024/1/16
 * description：
 */
public interface UserInfoService extends IService<UserInfo> {
    void register(UserInfoDto userInfoDto);
    String login(UserInfo userInfo);

    UserInfoVo getUserInfo(String token);

    void updateLoginInfo(UserInfo userInfo);

    void logout(String token);
}
